#include<bits/stdc++.h>
using namespace std;
int n,a[10010],ans;
bool f[10010];
int main()
{
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    scanf("%d",&n);
    for(int i=0;i<n;i++)
    {
        scanf("%d",&a[i]);
        f[i]=0;
    }
    ans=n;
    sort(a,a+n);
    for(int i=0;i<n-1;i++)
    {
        for(int j=i+1;j<n;j++)
        {
            if(a[i]<a[j]&&!f[j])
            {
                f[j]=1;
                ans--;
                break;
            }
        }
    }
    printf("%d",ans);
    return 0;
}
